Newer
Older
Import / applications / RocketMan / Source Code / FileSystem.h
@John John on 29 Dec 2020 477 bytes bulk import from macbookpro checkouts
/*
 *  FileSystem.h
 *  iphone-gl-app
 *
 *  Created by John Ryland on 15/06/09.
 *  Copyright 2009 InvertedLogic. All rights reserved.
 *
 */

#ifndef FILE_SYSTEM_H
#define FILE_SYSTEM_H


#include <QuartzCore/QuartzCore.h>


class File
{
public:
	File(const char *file);
	~File();

	const char *extension();

	/* CFURLRef will be automatically released in destructor */ 
	CFURLRef toMacURL_abs();
	CFURLRef toMacURL_rel();

private:
	void *dptr;
};


#endif // FILE_SYSTEM_H